/*
 * @Author: Yuchen Wang
 * @Date: 2025-05-18 22:53:54
 * @LastEditors: Yuchen Wang
 * @LastEditTime: 2025-05-19 02:09:03
 * @FilePath: /react-pixel-progress/.storybook/main.ts
 * @Description:
 * Copyright (c) 2025 by Yuchen Wang, All Rights Reserved.
 */

import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
  stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
  addons: [
    '@storybook/addon-links',
    '@storybook/addon-essentials',
    '@storybook/addon-interactions',
    '@storybook/addon-themes',
  ],
  framework: {
    name: '@storybook/react-vite',
    options: {
      builder: {
        viteConfigPath: '.storybook/vite.config.ts',
      },
    },
  },
  docs: {
    autodocs: 'tag',
  },
};
export default config;
